<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>IgH EtherCAT Master: cdev.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">IgH EtherCAT Master
   &#160;<span id="projectnumber">1.5.2</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('cdev_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">cdev.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>EtherCAT master character device.  
<a href="#details">More...</a></p>

<p><a href="cdev_8c_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structec__cdev__priv__t.html">ec_cdev_priv_t</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Private data structure for file handles.  <a href="structec__cdev__priv__t.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ad72dbcf6d0153db1b8d8a58001feed83"><td class="memItemLeft" align="right" valign="top"><a id="ad72dbcf6d0153db1b8d8a58001feed83"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cdev_8c.html#ad72dbcf6d0153db1b8d8a58001feed83">DEBUG</a>&#160;&#160;&#160;0</td></tr>
<tr class="memdesc:ad72dbcf6d0153db1b8d8a58001feed83"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set to 1 to enable device operations debugging. <br /></td></tr>
<tr class="separator:ad72dbcf6d0153db1b8d8a58001feed83"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a10f95a3683dceea630bcdd04e89e484f"><td class="memItemLeft" align="right" valign="top"><a id="a10f95a3683dceea630bcdd04e89e484f"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cdev_8c.html#a10f95a3683dceea630bcdd04e89e484f">PAGE_FAULT_VERSION</a>&#160;&#160;&#160;KERNEL_VERSION(2, 6, 23)</td></tr>
<tr class="memdesc:a10f95a3683dceea630bcdd04e89e484f"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is the kernel version from which the .fault member of the vm_operations_struct is usable. <br /></td></tr>
<tr class="separator:a10f95a3683dceea630bcdd04e89e484f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17f0ec31019517ccc93149007ee45d9d"><td class="memItemLeft" align="right" valign="top"><a id="a17f0ec31019517ccc93149007ee45d9d"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cdev_8c.html#a17f0ec31019517ccc93149007ee45d9d">VM_DONTDUMP</a>&#160;&#160;&#160;VM_RESERVED</td></tr>
<tr class="memdesc:a17f0ec31019517ccc93149007ee45d9d"><td class="mdescLeft">&#160;</td><td class="mdescRight">VM_RESERVED disappeared in 3.7. <br /></td></tr>
<tr class="separator:a17f0ec31019517ccc93149007ee45d9d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ac12a62dff23c807f50608bb1c3b99a69"><td class="memItemLeft" align="right" valign="top"><a id="ac12a62dff23c807f50608bb1c3b99a69"></a>
static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cdev_8c.html#ac12a62dff23c807f50608bb1c3b99a69">eccdev_open</a> (struct inode *inode, struct file *filp)</td></tr>
<tr class="memdesc:ac12a62dff23c807f50608bb1c3b99a69"><td class="mdescLeft">&#160;</td><td class="mdescRight">Called when the cdev is opened. <br /></td></tr>
<tr class="separator:ac12a62dff23c807f50608bb1c3b99a69"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0676fd59dff0432b9f378923d290129e"><td class="memItemLeft" align="right" valign="top"><a id="a0676fd59dff0432b9f378923d290129e"></a>
static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cdev_8c.html#a0676fd59dff0432b9f378923d290129e">eccdev_release</a> (struct inode *inode, struct file *filp)</td></tr>
<tr class="memdesc:a0676fd59dff0432b9f378923d290129e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Called when the cdev is closed. <br /></td></tr>
<tr class="separator:a0676fd59dff0432b9f378923d290129e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abbf50f74e0ed9ba2d8db5b1f9184a49b"><td class="memItemLeft" align="right" valign="top"><a id="abbf50f74e0ed9ba2d8db5b1f9184a49b"></a>
static long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cdev_8c.html#abbf50f74e0ed9ba2d8db5b1f9184a49b">eccdev_ioctl</a> (struct file *filp, unsigned int cmd, unsigned long arg)</td></tr>
<tr class="memdesc:abbf50f74e0ed9ba2d8db5b1f9184a49b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Called when an ioctl() command is issued. <br /></td></tr>
<tr class="separator:abbf50f74e0ed9ba2d8db5b1f9184a49b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a10a15bca817cd8044e0dd41af640b38e"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cdev_8c.html#a10a15bca817cd8044e0dd41af640b38e">eccdev_mmap</a> (struct file *filp, struct vm_area_struct *vma)</td></tr>
<tr class="memdesc:a10a15bca817cd8044e0dd41af640b38e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Memory-map callback for the EtherCAT character device.  <a href="#a10a15bca817cd8044e0dd41af640b38e">More...</a><br /></td></tr>
<tr class="separator:a10a15bca817cd8044e0dd41af640b38e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1842100711470b348f93bb6d3c9e1712"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cdev_8c.html#a1842100711470b348f93bb6d3c9e1712">eccdev_vma_fault</a> (struct vm_area_struct *vma, struct vm_fault *vmf)</td></tr>
<tr class="memdesc:a1842100711470b348f93bb6d3c9e1712"><td class="mdescLeft">&#160;</td><td class="mdescRight">Page fault callback for a virtual memory area.  <a href="#a1842100711470b348f93bb6d3c9e1712">More...</a><br /></td></tr>
<tr class="separator:a1842100711470b348f93bb6d3c9e1712"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a39eba670d1b58944bce6a8b3102db06c"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cdev_8c.html#a39eba670d1b58944bce6a8b3102db06c">ec_cdev_init</a> (<a class="el" href="structec__cdev__t.html">ec_cdev_t</a> *cdev, <a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master, dev_t dev_num)</td></tr>
<tr class="memdesc:a39eba670d1b58944bce6a8b3102db06c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#a39eba670d1b58944bce6a8b3102db06c">More...</a><br /></td></tr>
<tr class="separator:a39eba670d1b58944bce6a8b3102db06c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99583eb6867ecf756ff6f91f386408cd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cdev_8c.html#a99583eb6867ecf756ff6f91f386408cd">ec_cdev_clear</a> (<a class="el" href="structec__cdev__t.html">ec_cdev_t</a> *cdev)</td></tr>
<tr class="memdesc:a99583eb6867ecf756ff6f91f386408cd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#a99583eb6867ecf756ff6f91f386408cd">More...</a><br /></td></tr>
<tr class="separator:a99583eb6867ecf756ff6f91f386408cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:afa770d8ee52fb7d01115e006879238bd"><td class="memItemLeft" align="right" valign="top">static struct file_operations&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cdev_8c.html#afa770d8ee52fb7d01115e006879238bd">eccdev_fops</a></td></tr>
<tr class="memdesc:afa770d8ee52fb7d01115e006879238bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">File operation callbacks for the EtherCAT character device.  <a href="#afa770d8ee52fb7d01115e006879238bd">More...</a><br /></td></tr>
<tr class="separator:afa770d8ee52fb7d01115e006879238bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0b3a174ec0e5531598931789b842ca0"><td class="memItemLeft" align="right" valign="top">struct vm_operations_struct&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cdev_8c.html#ac0b3a174ec0e5531598931789b842ca0">eccdev_vm_ops</a></td></tr>
<tr class="memdesc:ac0b3a174ec0e5531598931789b842ca0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callbacks for a virtual memory area retrieved with ecdevc_mmap().  <a href="#ac0b3a174ec0e5531598931789b842ca0">More...</a><br /></td></tr>
<tr class="separator:ac0b3a174ec0e5531598931789b842ca0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>EtherCAT master character device. </p>

<p class="definition">Definition in file <a class="el" href="cdev_8c_source.html">cdev.c</a>.</p>
</div><h2 class="groupheader">Function Documentation</h2>
<a id="a10a15bca817cd8044e0dd41af640b38e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a10a15bca817cd8044e0dd41af640b38e">&#9670;&nbsp;</a></span>eccdev_mmap()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int eccdev_mmap </td>
          <td>(</td>
          <td class="paramtype">struct file *&#160;</td>
          <td class="paramname"><em>filp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct vm_area_struct *&#160;</td>
          <td class="paramname"><em>vma</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Memory-map callback for the EtherCAT character device. </p>
<p>The actual mapping will be done in the eccdev_vma_nopage() callback of the virtual memory area.</p>
<dl class="section return"><dt>Returns</dt><dd>Always zero (success). </dd></dl>

<p class="definition">Definition at line <a class="el" href="cdev_8c_source.html#l00228">228</a> of file <a class="el" href="cdev_8c_source.html">cdev.c</a>.</p>

</div>
</div>
<a id="a1842100711470b348f93bb6d3c9e1712"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1842100711470b348f93bb6d3c9e1712">&#9670;&nbsp;</a></span>eccdev_vma_fault()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static int eccdev_vma_fault </td>
          <td>(</td>
          <td class="paramtype">struct vm_area_struct *&#160;</td>
          <td class="paramname"><em>vma</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct vm_fault *&#160;</td>
          <td class="paramname"><em>vmf</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Page fault callback for a virtual memory area. </p>
<p>Called at the first access on a virtual-memory area retrieved with ecdev_mmap().</p>
<dl class="section return"><dt>Returns</dt><dd>Zero on success, otherwise a negative error code. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">vma</td><td>Virtual memory area. </td></tr>
    <tr><td class="paramname">vmf</td><td>Fault data. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="cdev_8c_source.html#l00255">255</a> of file <a class="el" href="cdev_8c_source.html">cdev.c</a>.</p>

</div>
</div>
<a id="a39eba670d1b58944bce6a8b3102db06c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a39eba670d1b58944bce6a8b3102db06c">&#9670;&nbsp;</a></span>ec_cdev_init()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ec_cdev_init </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structec__cdev__t.html">ec_cdev_t</a> *&#160;</td>
          <td class="paramname"><em>cdev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *&#160;</td>
          <td class="paramname"><em>master</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dev_t&#160;</td>
          <td class="paramname"><em>dev_num</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Constructor. </p>
<dl class="section return"><dt>Returns</dt><dd>0 in case of success, else &lt; 0 </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">cdev</td><td>EtherCAT master character device. </td></tr>
    <tr><td class="paramname">master</td><td>Parent master. </td></tr>
    <tr><td class="paramname">dev_num</td><td>Device number. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="cdev_8c_source.html#l00108">108</a> of file <a class="el" href="cdev_8c_source.html">cdev.c</a>.</p>

</div>
</div>
<a id="a99583eb6867ecf756ff6f91f386408cd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a99583eb6867ecf756ff6f91f386408cd">&#9670;&nbsp;</a></span>ec_cdev_clear()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_cdev_clear </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structec__cdev__t.html">ec_cdev_t</a> *&#160;</td>
          <td class="paramname"><em>cdev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Destructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">cdev</td><td>EtherCAT XML device </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="cdev_8c_source.html#l00134">134</a> of file <a class="el" href="cdev_8c_source.html">cdev.c</a>.</p>

</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a id="afa770d8ee52fb7d01115e006879238bd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afa770d8ee52fb7d01115e006879238bd">&#9670;&nbsp;</a></span>eccdev_fops</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">struct file_operations eccdev_fops</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<b>Initial value:</b><div class="fragment"><div class="line">= {</div><div class="line">    .owner          = THIS_MODULE,</div><div class="line">    .open           = <a class="code" href="cdev_8c.html#ac12a62dff23c807f50608bb1c3b99a69">eccdev_open</a>,</div><div class="line">    .release        = <a class="code" href="cdev_8c.html#a0676fd59dff0432b9f378923d290129e">eccdev_release</a>,</div><div class="line">    .unlocked_ioctl = <a class="code" href="cdev_8c.html#abbf50f74e0ed9ba2d8db5b1f9184a49b">eccdev_ioctl</a>,</div><div class="line">    .mmap           = <a class="code" href="cdev_8c.html#a10a15bca817cd8044e0dd41af640b38e">eccdev_mmap</a></div><div class="line">}</div><div class="ttc" id="cdev_8c_html_a10a15bca817cd8044e0dd41af640b38e"><div class="ttname"><a href="cdev_8c.html#a10a15bca817cd8044e0dd41af640b38e">eccdev_mmap</a></div><div class="ttdeci">static int eccdev_mmap(struct file *, struct vm_area_struct *)</div><div class="ttdoc">Memory-map callback for the EtherCAT character device. </div><div class="ttdef"><b>Definition:</b> <a href="cdev_8c_source.html#l00228">cdev.c:228</a></div></div>
<div class="ttc" id="cdev_8c_html_abbf50f74e0ed9ba2d8db5b1f9184a49b"><div class="ttname"><a href="cdev_8c.html#abbf50f74e0ed9ba2d8db5b1f9184a49b">eccdev_ioctl</a></div><div class="ttdeci">static long eccdev_ioctl(struct file *, unsigned int, unsigned long)</div><div class="ttdoc">Called when an ioctl() command is issued. </div><div class="ttdef"><b>Definition:</b> <a href="cdev_8c_source.html#l00200">cdev.c:200</a></div></div>
<div class="ttc" id="cdev_8c_html_ac12a62dff23c807f50608bb1c3b99a69"><div class="ttname"><a href="cdev_8c.html#ac12a62dff23c807f50608bb1c3b99a69">eccdev_open</a></div><div class="ttdeci">static int eccdev_open(struct inode *, struct file *)</div><div class="ttdoc">Called when the cdev is opened. </div><div class="ttdef"><b>Definition:</b> <a href="cdev_8c_source.html#l00145">cdev.c:145</a></div></div>
<div class="ttc" id="cdev_8c_html_a0676fd59dff0432b9f378923d290129e"><div class="ttname"><a href="cdev_8c.html#a0676fd59dff0432b9f378923d290129e">eccdev_release</a></div><div class="ttdeci">static int eccdev_release(struct inode *, struct file *)</div><div class="ttdoc">Called when the cdev is closed. </div><div class="ttdef"><b>Definition:</b> <a href="cdev_8c_source.html#l00175">cdev.c:175</a></div></div>
</div><!-- fragment -->
<p>File operation callbacks for the EtherCAT character device. </p>

<p class="definition">Definition at line <a class="el" href="cdev_8c_source.html#l00075">75</a> of file <a class="el" href="cdev_8c_source.html">cdev.c</a>.</p>

</div>
</div>
<a id="ac0b3a174ec0e5531598931789b842ca0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac0b3a174ec0e5531598931789b842ca0">&#9670;&nbsp;</a></span>eccdev_vm_ops</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct vm_operations_struct eccdev_vm_ops</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Initial value:</b><div class="fragment"><div class="line">= {</div><div class="line"></div><div class="line">    .fault = <a class="code" href="cdev_8c.html#a1842100711470b348f93bb6d3c9e1712">eccdev_vma_fault</a></div><div class="line"></div><div class="line"></div><div class="line"></div><div class="line">}</div><div class="ttc" id="cdev_8c_html_a1842100711470b348f93bb6d3c9e1712"><div class="ttname"><a href="cdev_8c.html#a1842100711470b348f93bb6d3c9e1712">eccdev_vma_fault</a></div><div class="ttdeci">static int eccdev_vma_fault(struct vm_area_struct *, struct vm_fault *)</div><div class="ttdoc">Page fault callback for a virtual memory area. </div><div class="ttdef"><b>Definition:</b> <a href="cdev_8c_source.html#l00255">cdev.c:255</a></div></div>
</div><!-- fragment -->
<p>Callbacks for a virtual memory area retrieved with ecdevc_mmap(). </p>

<p class="definition">Definition at line <a class="el" href="cdev_8c_source.html#l00085">85</a> of file <a class="el" href="cdev_8c_source.html">cdev.c</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_c1346cf4828efdd0d2baf0d391d01b77.html">master</a></li><li class="navelem"><a class="el" href="cdev_8c.html">cdev.c</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
